package com.dxy.shardingjdbc.model.po;



import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * 企业表(Company)表实体类
 *
 * @author dangxianyue
 * @since 2023-02-02 17:32:25
 */
@Data
@Accessors(chain = true)
@TableName("t_company")
public class Company {

    //id（雪花id）
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    //名称
    private String name;
}

